package com.rsy.search.service;

import com.rsy.common.To.es.SkuEsModel;
import org.elasticsearch.client.RestHighLevelClient;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.io.IOException;
import java.util.List;

@Service
public interface ProductSaveService {

    //商品上架保存到es中
    boolean productStatusUp(List<SkuEsModel> skuEsModels) throws IOException;
}
